
 /**
 * 上海中赢金融信息服务有限公司
 * Copyright (c) 2017, chinazyjr All Rights Reserved.
 */
package com.sys.kafka.core.model;


 /**
 * <b>Description：</b> TODO <br/>
 * <b>ClassName：</b> ConsumerMessageBO <br/>
 * <b>@author：</b> mobing <br/>
 * <b>@date：</b> 2017年7月13日 下午3:28:05 <br/>
 * <b>@version: </b>  <br/>
 */
public class ConsumerMessage {

    private long offset;
    
    private int partition;
    
    
    private  String topic;
    
    private String value;
    
    private String key;


    /**
     * value
     *
     * @return  the value
     */
    
    public String getValue() {
        return value;
    }


    /**
     * @param value the value to set
     */
    public void setValue(String value) {
        this.value = value;
    }


    /**
     * key
     *
     * @return  the key
     */
    
    public String getKey() {
        return key;
    }


    /**
     * @param key the key to set
     */
    public void setKey(String key) {
        this.key = key;
    }


    /**
     * offset
     *
     * @return  the offset
     */
    
    public long getOffset() {
        return offset;
    }


    /**
     * @param offset the offset to set
     */
    public void setOffset(long offset) {
        this.offset = offset;
    }


    /**
     * partition
     *
     * @return  the partition
     */
    
    public int getPartition() {
        return partition;
    }


    /**
     * @param partition the partition to set
     */
    public void setPartition(int partition) {
        this.partition = partition;
    }


    /**
     * topic
     *
     * @return  the topic
     */
    
    public String getTopic() {
        return topic;
    }


    /**
     * @param topic the topic to set
     */
    public void setTopic(String topic) {
        this.topic = topic;
    }
    
    
}
